package com.woniu.service;

import com.woniu.entity.RbacRole;
import com.woniu.entity.ResponseEntity;

import java.util.Set;

/**
 * @author:陈涵
 * @Do:
 * @date: 2022/9/7 7:05
 */
public interface RbacRoleService {
    ResponseEntity findAll();

    ResponseEntity findOne(int id);

    ResponseEntity addOne(RbacRole rbacRole);

    ResponseEntity deleteOne(int id);

    ResponseEntity updateOne(RbacRole rbacRole);

    Set<String> findOneByUserName(String username);

    ResponseEntity findAllWithPage(Integer currentPage, Integer pageSize);

    ResponseEntity editstatus(Integer id, String status);
}
